/*
 * AY 2014/15 Semester 1 IS2103 Assignment Part2
 * Matric. No.:    A0102330H
 * Name:           Cui Lin
 */
package ejb;

import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author cuilin
 */
@Remote
public interface MRSAdminManagerBeanRemote {

    void addModule(String moduleCode, String moduleTitle, String t, String venue);

    void deleteModule(Long id);

    List viewModuleDetails(String moduleCode);

    void addLecturer(String staffNumber, String title, String name, String email, String office);

    boolean isExistLecturer(String staffNumber);

    void deleteLecturer(Long id);

    void associateModuleLecturer(Long lecturerId);

    Long persistLecturer();

    Long persistModule();

    List findLecturers(String staffNumber);

    boolean isAsscociateLecturer(Long lecturerId);

    boolean isExistModule(String moduleCode);

    void addSynopsis(String content);

    void addStudent(String matricNumber, String name, String password, String email);

    boolean isExistStudent(String matricNumber);

    void deleteStudent(Long id);

    Long findStudentId(String matricNumber);

    Long findModuleId(String moduleCode);

    void assignStudentModule(Long studentId, Long moduleId);

    Long findLecturerId(String staffNumber);

    boolean isAssociateSM(Long studentId);

    List<List> viewAppeals();

    void addTutorial(String groupNumber, String t, String venue,String moduleCode);

    boolean isExistTutorial(String moduleCode, String groupNumber);

    void deleteTutorial(String moduleCode, String groupNumber);

    List<List> viewTutorialDetails(String moduleCode);

    Long findTutorialId(String moduleCode, String groupNumber);

    void assignStudentTutorial(Long studentId, Long tutorialId);

    void addTutor(String staffNumber, String name, String email);

    void deleteTutor(String staffNumber);

    boolean isExistTutor(String staffNumber);

    void associateTutorTutorial(Long tutorId, Long tutorialId);

    Long findTutorId(String staffNumber);

    public List findStudent(String matricNumber);

    public void updateStudent(Long id, String password, String email);

    public List findModuleEntities(String moduleCode, String moduleTitle);

    public List findStudentModules(Long id);
}
